package dbmodel

import "github.com/jinzhu/gorm"

// ThumbType 字段取值，主要是 是否随着更新
const (
	AlbumThumbNotFix = 0
	AlbumThumbFixed = 1
)

type Album struct {
	gorm.Model
	UserID int
	DevID  int
	Name   string
	ThumbType int
	Thumb string
}

type Statistic struct {
	gorm.Model
	UserID  int
	Total   int
	Picture int
	Video   int
	PSize   int
	VSize   int
}
